<#assign contextPath=rc.contextPath/> <#include
"/common/__context.html"/> <#assign pageTitle="VIGOR"/> <#assign
pageBreadCrumbs>
<li class="active"><a href="#"
	onclick="loadContext('${contextPath}/course');">在线课程</a></li>
<li class="active">创建课程</li>
</#assign> <#assign currentMenu="menu21-menu22"/>
<script type="text/javascript">
	
</script>

<@mainContext pageTitle=pageTitle pageBreadCrumbs=pageBreadCrumbs
currentMenu=currentMenu>
<div class="row row-12">
	<div class="col-md-12">
		<div class="panel panel-default">
			<div class="panel-body">
				<h4>如何成为一名合格的销售?</h4>
				<br> <span class="text-muted text-sm">教师:<a href="#">熊先生</a></span>

				<div class="btn-group pull-right">
					<a class="btn btn-sm btn-white" href="#" onclick="" target=""><i
						class="glyphicon glyphicon-eye-open"> </i> 预览</a>
					<button data-toggle="dropdown"
						class="btn btn-sm btn-white dropdown-toggle" aria-expanded="false">
						<i class="ace-icon fa fa-angle-down icon-only"></i>
					</button>
					<ul class="dropdown-menu pull-right">
						<li><a href="/edusoho/web/course/1?previewAs=guest"
							target="_blank"> 预览：作为未购买用户</a></li>
						<li><a href="/edusoho/web/course/1?previewAs=member"
							target="_blank"> 预览：作为已购买用户</a></li>
					</ul>

					<a class="btn btn-sm btn-success" href="#" onclick="" target=""><i
						class="glyphicon glyphicon-ok-circle"></i> 发布</a>
				</div>

			</div>
		</div>
	</div>
</div>

<div class="row">
	<div class="col-md-9">

		<div class="panel panel-default panel-col">
			<div class="panel-heading">基本信息</div>
			<div class="panel-body">
				<form class="form-horizontal" id="course-form" method="post"
					novalidate="novalidate" data-widget-cid="widget-0">



					<div class="form-group">
						<label class="col-md-2 control-label">标题</label>
						<div class="col-md-8 controls">
							<input type="text" id="course_title" name="title"
								required="required" class="form-control" value="如何成为一名合格的程序员"
								data-widget-cid="widget-1" data-explain="">
							<div class="help-block" style="display: none;"></div>
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-2 control-label">副标题</label>
						<div class="col-md-8 controls">
							<textarea id="course_subtitle" name="subtitle"
								required="required" class="form-control"
								data-widget-cid="widget-2" data-explain="">程序员初级入门课程</textarea>
							<div class="help-block" style="display: none;"></div>
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-2 control-label">标签</label>
						<div class="col-md-8 controls">
							<div class="select2-container select2-container-multi width-full"
								id="s2id_course_tags">
								<ul class="select2-choices">
									<li class="select2-search-field"><input type="text"
										autocomplete="off" autocorrect="off" autocapitilize="off"
										spellcheck="false" class="select2-input select2-default"
										id="s2id_autogen1" tabindex="-1" style="width: 532px;">
									</li>
								</ul>
								<div
									class="select2-drop select2-drop-multi select2-display-none">
									<ul class="select2-results">
									</ul>
								</div>
							</div>
							<input type="text" id="course_tags" name="tags"
								required="required" class="width-full select2-offscreen"
								tabindex="-1" value="" data-explain="将会应用于按标签搜索课程、相关课程的提取等">
							<div class="help-block">将会应用于按标签搜索课程、相关课程的提取等</div>
						</div>
					</div>


					<div class="form-group">
						<label class="col-md-2 control-label" for="course_expiryDay">学员有效期</label>
						<div class="col-md-8 controls">
							<input type="text" id="course_expiryDay" name="expiryDay"
								required="required"
								class="form-control width-input width-input-large" value="30"
								data-widget-cid="widget-3"
								data-explain="设置该值后，学员只能在有效期内学习课程、发表话题、提问、笔记等，超过有效期后学员只能浏览课时目录及讨论区。该值为0，则不做此限制。">
							天
							<div class="help-block">设置该值后，学员只能在有效期内学习课程、发表话题、提问、笔记等，超过有效期后学员只能浏览课时目录及讨论区。该值为0，则不做此限制。</div>
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-2 control-label">连载状态</label>
						<div class="col-md-8 controls radios">
							<label><input type="radio" name="serializeMode"
								value="none" checked="checked"> 非连载课程</label><label><input
								type="radio" name="serializeMode" value="serialize"> 更新中</label><label><input
								type="radio" name="serializeMode" value="finished"> 已完结</label>
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-2 control-label">显示学员人数</label>
						<div class="col-md-8 controls radios">
							<label><input type="radio" name="showStudentNumType"
								value="opened" checked="checked"> 开启</label><label><input
								type="radio" name="showStudentNumType" value="closed">
								关闭</label>
						</div>
					</div>

					<div class="form-group">
						<label class="col-md-2 control-label">分类</label>
						<div class="col-md-8 controls">
							<select id="course_categoryId" name="categoryId"
								required="required"
								class="form-control width-input width-input-large">
								<option value="">分类</option>
							</select>
							<div class="help-block" style="display: none;"></div>
						</div>
					</div>


					<div class="form-group">
						<div class="col-md-offset-2 col-md-8 controls">
							<button class="btn btn-fat btn-primary" id="course-create-btn"
								type="submit">保存</button>
						</div>
					</div>

					<input type="hidden" name="_csrf_token"
						value="8be34f3d008d7814a4789ce5a7fffc2c2b92a70a">

				</form>
			</div>
		</div>

	</div>

	<div class="col-md-3">
		<div class="panel panel-default">
			<div class="panel-body">
				<div class="list-group-panel">
					<div class="list-group-heading">课程信息</div>
					<div class="list-group">
						<a class="list-group-item active"
							href="/edusoho/web/course/1/manage/base">基本信息</a> <a
							class="list-group-item "
							href="/edusoho/web/course/1/manage/detail">详细信息</a> <a
							class="list-group-item "
							href="/edusoho/web/course/1/manage/picture">课程图片</a> <a
							class="list-group-item "
							href="/edusoho/web/course/1/manage/lesson">课时管理</a> <a
							class="list-group-item "
							href="/edusoho/web/course/1/manage/files">文件管理</a>
					</div>
				</div>
				<!-- /list-group-block -->

				<div class="list-group-panel">
					<div class="list-group-heading">课程设置</div>
					<div class="list-group">
						<a class="list-group-item "
							href="/edusoho/web/course/1/manage/price">价格设置</a> <a
							class="list-group-item "
							href="/edusoho/web/course/1/manage/teachers">教师设置</a> <a
							class="list-group-item "
							href="/edusoho/web/course/1/manage/students">学员管理</a>
					</div>
				</div>
				<div class="list-group-panel">
					<div class="list-group-heading">题库</div>
					<div class="list-group">
						<a class="list-group-item "
							href="/edusoho/web/course/1/manage/question">题目管理</a> <a
							class="list-group-item "
							href="/edusoho/web/course/1/manage/question/category">题目类别管理</a>
						<a class="list-group-item "
							href="/edusoho/web/course/1/manage/testpaper">试卷管理</a> <a
							class="list-group-item "
							href="/edusoho/web/course/check/1/reviewing/list">试卷批阅</a>
					</div>
				</div>
			</div>

		</div>
	</div>
</div>
</@mainContext>
